package com.produce.user.dto;

import java.util.List;

/**
 * 类描述：组织架构转换的dto
 *
 * @author linzf
 */
public class OrganizationalStructureDto {

    /**
     * 组织架构流水ID
     */
    private String orgId;
    /**
     * 菜单名字
     */
    private String title;
    /**
     * 组织架构编码
     */
    private String orgCode;
    /**
     * 组织架构图片地址
     */
    private String orgImg;
    /**
     * 组织架构负责人
     */
    private String orgContacts;
    /**
     * 联系电话
     */
    private String contactsPhone;
    /**
     * 机构编制
     */
    private Integer orgNum;
    /**
     * 机构在编人员
     */
    private Integer orgPayroll;
    /**
     * 父架构流水ID
     */
    private String orgParentId;
    /**
     * 父架构名称
     */
    private String orgParentName;
    /**
     * 默认子节点都是展开的
     */
    private boolean expand = true;
    /**
     * 默认节点是没有选中的
     */
    private boolean checked = false;
    /**
     * 子架构数据集合
     */
    private List<OrganizationalStructureDto> children;

    public boolean isExpand() {
        return expand;
    }

    public void setExpand(boolean expand) {
        this.expand = expand;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgImg() {
        return orgImg;
    }

    public void setOrgImg(String orgImg) {
        this.orgImg = orgImg;
    }

    public String getOrgContacts() {
        return orgContacts;
    }

    public void setOrgContacts(String orgContacts) {
        this.orgContacts = orgContacts;
    }

    public String getContactsPhone() {
        return contactsPhone;
    }

    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }

    public Integer getOrgNum() {
        return orgNum;
    }

    public void setOrgNum(Integer orgNum) {
        this.orgNum = orgNum;
    }

    public Integer getOrgPayroll() {
        return orgPayroll;
    }

    public void setOrgPayroll(Integer orgPayroll) {
        this.orgPayroll = orgPayroll;
    }

    public String getOrgParentId() {
        return orgParentId;
    }

    public void setOrgParentId(String orgParentId) {
        this.orgParentId = orgParentId;
    }

    public String getOrgParentName() {
        return orgParentName;
    }

    public void setOrgParentName(String orgParentName) {
        this.orgParentName = orgParentName;
    }

    public List<OrganizationalStructureDto> getChildren() {
        return children;
    }

    public void setChildren(List<OrganizationalStructureDto> children) {
        this.children = children;
    }
}
